|
This page last changed on Jan 02, 2007 by rosie@atlassian.com.
Confluence allows you to import text files from a disk or a directory on the Confluence server, and convert them into corresponding Confluence pages. Each file will be imported as a Confluence page with the same name as the file.
 |
The text file needs to contain Confluence markup to be converted accurately into a Confluence page. |
You need to be a space administrator to import text files.
To import text files,
- Click on the 'Browse Space' link for the space. This is located at the top of every page and beside the space link on the dashboard.
- Go to the tab 'Space Admin'. This tab is only displayed if you are a space administrator.
- Click on the 'Import pages from disk' link in the left panel under the heading 'Import'. This will display a new screen.
- Type in the directory's path in the 'Import directory' text field.
- Check 'Trim file extensions' to remove file extensions when converting the files to Confluence pages. Note that the Confluence pages will take their titles from the files' names (including their extensions). So to avoid having page titles with the suffix 'txt' in them, make sure you check this box.
- Check 'Overwrite existing pages' if you want to replace existing Confluence pages with the same page title.
- Click 'Import'.
Screenshot : Importing text files

 |
The ability to import pages from disk applies only to global spaces, so the 'Import' section in the above screenshot does not appear in the 'Space Admin' tab for personal spaces. Please see Working with Spaces Overview for information about the differences between global spaces and personal spaces. |
RELATED TOPICS
Take me back to Confluence 2 Home
|
What kind of encoding shall the filename and the text have? I am about to import som swedish texts (å, ä, ö, Å, Ä, Ö)
/John, Sweden

Posted by di99pejo at Oct 20, 2006 10:00
|
|
Currently, this method uses the default system encoding of Java, which is determined automatically from your system. This means it should work with whatever encoding is native for files on your operating system.
I'd suggest importing one or two files first as a test, and if there is a problem with the encoding, let us know and we can add a configuration option to Confluence to change it.

Posted by mryall at Oct 23, 2006 22:16
|
|
There is now a JIRA issue for this enhancement, with two possible workarounds.

Posted by mryall at Oct 30, 2006 21:21
|
|
Hi there, I'm wondering whether space admins could markup the text to include labels and hierachial data as well? It's a really nifty import plugin if you've got a small number of pages, but I've got a heap and I'm wondering how they can go in labelled and all.

Posted by daletan at Jan 03, 2007 20:12
|
|
Is there a way to import attachments using this feature? How about linking children pages to parent pages?
I wish to use it for bulk loading but may of the pages will have children and attachments.

Posted by rickshaw at Jan 19, 2007 17:18
|
|